/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package heuristiquegloutonne;

import java.util.ArrayList;

/**
 *
 * @author taillefe
 */
public class Machine {

    private int num;
    private int date_dispo;
    private ArrayList<Integer> listeJobs;

    public Machine(int num) {
        this.num = num;
        this.date_dispo = 0;
        this.listeJobs = new ArrayList<Integer>();
    }

    public int getNum() {
        return num;
    }

    public int getDate_dispo() {
        return date_dispo;
    }

    public void setDate_dispo(int date_dispo) {
        this.date_dispo = date_dispo;
    }
    
    public void addJob(int id){
    	this.listeJobs.add(new Integer(id));
    }

	public ArrayList<Integer> getListeJobs() {
		return listeJobs;
	}


}
